<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2024/6/19
  Time: 9:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        #editUserInfoBox{
            text-align: center;
        }
        #editUserInfoBox div{
            line-height: 60px;
        }
        button{
            height: 50px;
            width: 80px;
            border-radius: 6px;
            color: #FFFFFF;
            border: 0PX;
        }
        #edit{
            background-color: cadetblue;
        }
        #close{
            background-color: darkgray;
        }
        #editUserInfoBox input{
            width: 300px;
            height: 50px;
            border-radius: 6px;
        }
        a{
            display: inline-block;
            height: 50px;
            width: 80px;
            border-radius: 6px;
            color: #FFFFFF;
            border: 0PX;
            text-align: center;
            font-size: 13px;
            text-decoration: none;
            position: relative;
            top: 2px;
            line-height: 54px;

        }
    </style>
</head>
<body>
<div id="editUserInfoBox">
    <form action="updateUserinfo" method="post">
        <input type="hidden" name="id" value="${userInfoById[0]["id"]}" />
        <div style="margin-top:50px">
            用&nbsp; 户&nbsp; 名<input type="text" name="username" placeholder="请输入用户名" value="${userInfoById[0].username}"/>
        </div>
        <div>
            密&nbsp; &nbsp; &nbsp; 码 <input type="text" name="userpwd" placeholder="请输入密码" value="${userInfoById[0].userpwd}"/>
        </div>
        <div>
            家庭住址<input type="text" name="useraddress" placeholder="请输入家庭住址" value="${userInfoById[0].useraddress}"/>
        </div>
        <div>
            联系方式<input type="text" name="usertel" placeholder="请输入联系方式" value="${userInfoById[0].usertel}"/>
        </div>
        <div>
            <button id="edit">编辑</button>
            <a href="userInfoManager.jsp" style="margin-left: 15px;"  id="close">关闭</a>
        </div>
    </form>
</div>
</body>
</html>
